﻿using Mate.Db.Model.System;
using System;
using System.Collections.Generic;
using System.Text;

namespace Mate.Dto.System
{
    public class MenuModel:menu
    {
        /// <summary>
        /// 当前是否有权限
        /// </summary>
        public bool IsCurrentPermission { get; set; }


        private IList<MenuModel> _children;
        /// <summary>
        /// 子菜单
        /// </summary>
        public IList<MenuModel> children
        {
            get { return _children ?? (_children = new List<MenuModel>()); }
            set { _children = value; }
        }
    }
}
